package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.GradeAutoSet;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.scheduling.annotation.Async;

/**
 * <p>
 * 批量添加班级设置 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-10
 */
public interface IGradeAutoSetService extends IService<GradeAutoSet> {

    @Async("onlineAsync")
    void createGradeAuto(Integer yearPart, Integer quarterNum, Long schoolId, String yearClassId, Integer type);

    @Async("onlineAsync")
    void createGradeAutoV2(Integer yearPart, Integer quarterNum, Long schoolId, String yearClassId, Integer type);
}
